<%@ page contentType="text/html; charset=GBK"%>
<%@ taglib prefix="ww" uri="/struts-tags" %>

<link href="../css/Browser.css" rel="stylesheet" type="text/css">
<link href="../css/netrunk.css" rel="stylesheet" type="text/css">
<link href="../css/site.css" rel="stylesheet" type="text/css">
<title></title>
<TABLE width=100% class="ListShort">
	<TR class="Header">
		<TD>
			��ѯ�û�����(�ڲ�,�ⲿ)
		</TD>
		<TD align=right>
			����(
			<A HREF="qusermgt.action?action=to_create">�ڲ��û�</A>,
			<A HREF="documente_add.jsp">�ⲿ�û�</A>)&nbsp;
		</TD>
	</TR>
</TABLE>
<FORM METHOD=POST ACTION="qekusermanager.action">
	<TABLE width=100% class="ListShort">

		<TR class="DataLight">
			<TD>
				�û�����
				<input type="text" name="userName">
				��λ
				<input type="text" name="unit" />
				<INPUT TYPE="submit" value='��ѯ' class="button1">
			</TD>
		</TR>

	</TABLE>
</FORM>
<TABLE width=100% class="ListShort">
	<TR class="DataDark">
		<TD>
			��
			<ww:property value="totalPage" />
			ҳ��
			<ww:property value="totalCount" />
			����¼����ǰ��
			<ww:property value="pageNo" />
			ҳ
		</TD>
		<TD align=right>
			<A HREF='?pageNo=1<ww:property value="href" />'>��ҳ</A>
			<A
				HREF='?pageNo=<ww:property value="prevPage" /><ww:property value="href" />'>��ҳ</A>
			<A
				HREF='?pageNo=<ww:property value="nextPage" /><ww:property value="href" />'>��ҳ</A>
			<A
				HREF='?pageNo=<ww:property value="totalPage" /><ww:property value="href" />'>βҳ</A>
			&nbsp;
		</TD>
	</TR>
</TABLE>

<TABLE class="ListShort">
	<TR class="Selected">
		<TD>
			�û����
		</TD>
		<TD>
			�û�����
		</TD>
		<TD>
			��λ
		</TD>
		<TD>
			����
		</TD>
		<TD>
			֤������
		</TD>
		<TD>
			��ϵ�绰
		</TD>
		<TD>
			�ۿ���
		</TD>
		<TD>
			���
		</TD>
		<TD>
			�û�״̬
		</TD>
		<TD>
			����
		</TD>
	</TR>
	<ww:iterator value="ekUserList">
		<TR class="DataField">
			<TD height="16">
				<ww:property value="userId" />
			</TD>
			<TD>
				<ww:property value="userName" />
			</TD>
			<TD>
				<ww:property value="unit" />
			</TD>
			<TD>
				<ww:property value="department" />
			</TD>
			<TD>
				<ww:property value="certificate" />
			</TD>
			<TD>
				<ww:property value="telephone" />
			</TD>
			<TD>
				<ww:property value="discount" />
			</TD>
			<TD>
				<ww:property value="blance" />
			</TD>
			<TD>
				<ww:property value="statusName" />
			</TD>
			<TD>
				<ww:if test='status==1||(yhlx==1&&status!=3)'>
					<a
						href='qusermanager.action?action=del&userId=<ww:property value="userId" />'
						onClick="return sureRevoke();">ע��</a>
				</ww:if>
				<ww:if test='status==null'>
					<a
						href='documentmanager.action?action =dispatch&userId=<ww:property value="userId" />'>�Ǽ�
					</a>
				</ww:if>
				<ww:if test='status==2&&yhlx==2'></ww:if>
				<ww:if test='status==2'>
					<a
						href='documentmanager.action?action=listall&userId=<ww:property value="userId" />'>�鿴</a>
				</ww:if>
				<ww:if test='status==2&&yhlx==2'></ww:if>
				<ww:if test='status==3'>
					<a
						href='qusermanager.action?action=restart&userId=<ww:property value="userId" />'>
						����</a>
				</ww:if>
			</TD>
		</TR>
	</ww:iterator>
</TABLE>

<script language=javascript>
function sureRevoke()
{
  if(!confirm('ȷ��ע����')) return false;
}
function sureReturn()
{
  if(!confirm('ȷ�Ϲ黹��')) return false;
} 
</script>

